import{createRouter,createWebHistory  }from'vue-router'
let router=createRouter({
  history:createWebHistory(),
  routes:[
    {
      path:'',
      redirect:'/add',
    },
    {
      path:'/add',
     component:()=>import("../Views/Add.vue")
    },
    {
      path:'/show',
     component:()=>import("../Views/Show.vue")
    },
    {
      path:'/update',
     component:()=>import("../Views/Update.vue")
    }
  ]
})
export default router